package com.nativetalk.service.three.reserve.time.insert;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.reserve.TdNtReserveTimeDetail;

import java.util.TimeZone;

/**
 * Created by lizhun on 16/6/15.
 */
public interface ThreeReserveTimeInsertService {

    /**
     * @Purpose  设置可预约时间
     * @version  3.0
     * @author   lizhun
     * @param    tea_id
     * @return   RetInfo
     */
    public RetInfo setReserveTime(int tea_id, int week, int is_valid, int reserve_time);

    /**
     * @param detail
     * @return
     * @Purpose 根据tea_id, date, reserve_time更新is_valid
     * @version 4.1
     * @author Peter
     */
    public RetInfo updateTdNtReserveTimeSetIsValid(TdNtReserveTimeDetail detail, TimeZone clientTimeZone);
}
